<script>on mouseUpget the number of cards in this stackput it into AllCardsget the number of this cardif it<AllCards thengo card it+1elsego card "Index"end ifend mouseUp</script>
<script>on mouseUpanswer "Delete recipe?" with "OK" or "Cancel"if it="OK" then doMenu "Cut Card"end mouseUp</script>
</part>
<content>
<layer>background</layer>
<id>5</id>
<text>Ingredients</text>
</content>
<content>
<layer>background</layer>
<id>6</id>
<text>Directions</text>
</content>
<content>
<layer>background</layer>
<id>16</id>
<text>Servings</text>
</content>
<name></name>
<script>on OpenCardset lockText of field "Recipe Number" to falseget the number of this cardput it-2 into bkgnd field "Recipe Number"set lockText of field "Recipe Number" to trueend OpenCardon closeCardglobal ChangedServingsset lockscreen to trueif ChangedServings thenhide field "Amount"hide field "Measure"hide field "Servings"put false into ChangedServingsend ifset lockscreen to falseend closeCard</script>